from creational.builder.BuilderFlat import BuilderFlat
from creational.builder.BuilderHouse import BuilderHouse
from creational.builder.Director import Director

if __name__ == '__main__':
    director = Director()
    director.builder = BuilderHouse()
    director.construct_building()
    building = director.get_building()
    print(building)

    director.builder = BuilderFlat()
    director.construct_building()
    building = director.get_building()
    print(building)
